{extend name="public/layout"}

{block name="title"}{/block}

{block name="main"}
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 基本设置 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">
    <form action="{:U('config/update')}" method="post" class="form form-horizontal" id="form-article-add">
        <div id="tab-system" class="HuiTab">
            <div class="tabBar cl"><span>基本设置</span></div>
            <div class="tabCon">
                <div class="row cl">
                    <label class="form-label col-2"><span class="c-red">*</span>网站名称：</label>
                    <div class="formControls col-10">
                        <input type="text" id="website-title" placeholder="控制在25个字、50个字节以内" value="{$res.title}" name="title" class="input-text">
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-2"><span class="c-red">*</span>名称简写：</label>
                    <div class="formControls col-10">
                        <input type="text" id="website-title" placeholder="控制在25个字、50个字节以内" value="{$res.uname}" name="uname" class="input-text">
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-2"><span class="c-red">*</span>关键词：</label>
                    <div class="formControls col-10">
                        <input type="text" id="website-Keywords" placeholder="5个左右,18汉字以内,用英文,隔开" value="{$res.keywords}" name="keywords" class="input-text">
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-2"><span class="c-red">*</span>描述：</label>
                    <div class="formControls col-10">
                        <input type="text" id="website-description" placeholder="空制在80个汉字，160个字符以内" value="{$res.description}" name="description" class="input-text">
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-2"><span class="c-red">*</span>底部版权信息：</label>
                    <div class="formControls col-10">
                        <input type="text" id="website-copyright" placeholder="&copy; 2014 H-ui.net" value="{$res.copyright}" name="copyright" class="input-text">
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-2">备案号：</label>
                    <div class="formControls col-10">
                        <input type="text" id="website-icp" placeholder="京ICP备00000000号" value="{$res.record}" name="record" class="input-text">
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-2">统计代码：</label>
                    <div class="formControls col-10">
                        <textarea class="textarea" name="count_code">{$res.count_code}</textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="row cl">
            <div class="col-10 col-offset-2">
                <input name="update_time" value="{:time()}" type="hidden" />
                <button onClick="article_save_submit();" class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存</button>
                <button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</div>
{/block}

{block name="css"}
    {load href="__ADMIN__/lib/icheck/icheck.css" /}
{/block}
{block name="js"}
    {load href="__ADMIN__/lib/icheck/jquery.icheck.min.js"/}
    {load href="__ADMIN__/lib/Validform/5.3.2/Validform.min.js"/}
    <script type="text/javascript">
        $(function(){
            $('.skin-minimal input').iCheck({
                checkboxClass: 'icheckbox-blue',
                radioClass: 'iradio-blue',
                increaseArea: '20%'
            });
            $.Huitab("#tab-system .tabBar span","#tab-system .tabCon","current","click","0");
        });
    </script>
{/block}
